﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PowerOfNumber
{
    class PowerOfNumber
    {
        static void Main(string[] args)
        {
            Console.WriteLine("This program calculates a number raised to a power.");
            Console.WriteLine("Enter number:");
            double number = double.Parse(Console.ReadLine());
            Console.WriteLine("Enter power:");
            double power = double.Parse(Console.ReadLine());
            Console.WriteLine("Your result is:");
            Console.WriteLine(Math.Pow(number,power));
            Console.ReadLine();
        }
    }
}
